<?php
$this->loginForm->setAction($this->url());
echo $this->loginForm;